<script>
	import Vue from 'vue'
	export default {
		onLaunch: function() {
			uni.onTabBarMidButtonTap(()=>{
					uni.navigateTo({
						url:'pages/transaction/transaction'
					})
				})
			let CustomBar = '';
			let screenHeight=''
			uni.getSystemInfo({
				success: (e) => {
					screenHeight=e.screenHeight-50
					if (e.platform == 'android') {
						CustomBar = e.statusBarHeight + 20;
					} else {
						CustomBar = e.statusBarHeight + 25;
					};
				},
			});
			Vue.prototype.screenHeight = screenHeight;//页面高度
			Vue.prototype.CustomBar = CustomBar;//手机刘海
		},
		onShow: function() {
		},
		onHide: function() {
		}
		
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import 'uview-ui/index.scss';
	@include page;
</style>
